package com.example.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.room.course.Course
import com.example.room.course.CourseDao
import com.example.room.user.User
import com.example.room.user.UserDao

@Database(entities = [User::class,Course::class], version = 4, exportSchema = false)
abstract  class ZRoomDB:RoomDatabase() {
    abstract fun userDao(): UserDao
    abstract fun courseDao(): CourseDao
}